package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterServicestoreUpdateRequest struct {
	/*
	   网点/门店     */
	ParamServiceStoreDTO *domain.TmallServicecenterServicestoreUpdateServiceStoreDto `json:"param_service_store_d_t_o,omitempty" required:"false" `
}

func (s *TmallServicecenterServicestoreUpdateRequest) SetParamServiceStoreDTO(v domain.TmallServicecenterServicestoreUpdateServiceStoreDto) *TmallServicecenterServicestoreUpdateRequest {
	s.ParamServiceStoreDTO = &v
	return s
}

func (req *TmallServicecenterServicestoreUpdateRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ParamServiceStoreDTO != nil {
		paramMap["param_service_store_d_t_o"] = util.ConvertStruct(*req.ParamServiceStoreDTO)
	}
	return paramMap
}

func (req *TmallServicecenterServicestoreUpdateRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
